﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.LightmapsMode
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;
using System.ComponentModel;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Lightmap (and lighting) configuration mode, controls how lightmaps interact with lighting and what kind of information they store.</para>
  /// </summary>
  [Flags]
  public enum LightmapsMode
  {
    /// <summary>
    ///   <para>Light intensity (no directional information), encoded as 1 lightmap.</para>
    /// </summary>
    NonDirectional = 0,
    /// <summary>
    ///   <para>Directional information for direct light is combined with directional information for indirect light, encoded as 2 lightmaps.</para>
    /// </summary>
    CombinedDirectional = 1,
    /// <summary>
    ///   <para>Directional information for direct light is stored separately from directional information for indirect light, encoded as 4 lightmaps.</para>
    /// </summary>
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member LightmapsMode.SeparateDirectional has been removed. Use CombinedDirectional instead (UnityUpgradable) -> CombinedDirectional", true)] SeparateDirectional = 2,
    [Obsolete("Enum member LightmapsMode.Single has been removed. Use NonDirectional instead (UnityUpgradable) -> NonDirectional", true), EditorBrowsable(EditorBrowsableState.Never)] Single = 0,
    [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Enum member LightmapsMode.Dual has been removed. Use CombinedDirectional instead (UnityUpgradable) -> CombinedDirectional", true)] Dual = CombinedDirectional, // 0x00000001
    [Obsolete("Enum member LightmapsMode.Directional has been removed. Use CombinedDirectional instead (UnityUpgradable) -> CombinedDirectional", true), EditorBrowsable(EditorBrowsableState.Never)] Directional = SeparateDirectional, // 0x00000002
  }
}
